package com.ruicar.afs.cloud.batch.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.batch.entity.AfsBatchInfo;
import com.ruicar.afs.cloud.batch.enums.BatchType;

public interface AfsBatchInfoService extends IService<AfsBatchInfo> {
    AfsBatchInfo getSystemBatchInfo(String systemName);
    AfsBatchInfo getSystemBatchInfoWithOutUpdate(String systemName);
    void switchDay(String systemName);
    void changeBatchToNormal(String systemName, BatchType batchType);
    void changeBatchToNormalConsole(String systemName);
    void changeBatchToError(String systemName);
    void addRunThreadNum(String systemName,int num,String symbol);
    void cutDown(String systemName,int num,String symbol);
}
